#ifndef MYTCPSERVER_H
#define MYTCPSERVER_H

#include <QTcpServer>
#include <QList>
#include "mytcpsocket.h"
class myTcpServer : public QTcpServer
{
    Q_OBJECT
public:
    myTcpServer();
    static myTcpServer &getInstance();
protected:
    virtual void incomingConnection(qint16 socketDescription);
private:
    QList<MyTcpSocket*>m_tcpSocketList;
};

#endif // MYTCPSERVER_H
